
<!-- 静态导航条开始 -->
    <nav class="navbar navbar-default navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">
                    <span class="glyphicon glyphicon-phone-alt" aria-hidden="true"></span> 校友通讯录
                </a>
            </div>
            <div id="navbar" class="navbar-collapse collapse">
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="#" ng-click="goRegister()">注册</a></li>
                    <li class="active"><a href="#">登陆 </a></li>
                </ul>
            </div><!--/.nav-collapse -->
        </div>
    </nav>
<!--静态导航条结束-->
<!--登陆界面开始-->
    <div id="loginModal" class="modal show" >
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close">x</button>
                    <h1 class="text-center text-primary">登录</h1>
                </div>
                <div class="modal-body">
                    <form class="form col-md-12 center-block" name="myform">
                        <div class="form-group">
                            <input type="text" class="form-control input-lg" placeholder="账号" ng-model="user.username" name="username" required>
                        </div>
                        <div class="form-group">
                            <input type="password" class="form-control input-lg" placeholder="登录密码" ng-model="user.password" name="password" required>
                        </div>
                        <div layout="row" layout-sm="column" layout-align="space-between" layout-align-sm="space-around center">
                                <input  type="radio" ng-model="user.role" value="0" name="user_type" class="user-type-rdo md-warn md-hue-2" >管理员
                                <input  checked="checked" type="radio" ng-model="user.role" value="1" name="user_type" class="user-type-rdo md-warn md-hue-2" >校友
                        </div>
                        <div class="form-group">
                            <br>
                            <button class="btn btn-primary btn-lg btn-block" ng-click="login()" ng-disabled="myform.username.$invalid||myform.password.$invalid||user.role==''">立刻登录</button>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <!--页脚-->
                    <myfooter></myfooter>
                    <!--页脚-->
                </div>
            </div>
        </div>
    </div>
<!--登陆界面开始-->

